package com.namecard.namecardapi.util;


import javax.servlet.http.HttpSession;

/**
 * @author wzx
 */
public class SessionUtil {

    /**
     * 将用户数据从session中删除
     * @param session session对象
     */
    public static void removeUserFromSession(HttpSession session){
            session.removeAttribute("user");
    }
}
